package cn.shop.ordersystem.pojo.entity;

public class Food {
    private Integer id;
    private String foodName;//菜名
    private Integer foodType_id;//所属菜系
    private Double price;//售价
    private Double oldPrice;//原价
    private String url;//图片名
    private Integer saleCount;//销量
    private String state;//商品状态(有存货,售罄

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", foodName='" + foodName + '\'' +
                ", foodType_id=" + foodType_id +
                ", price=" + price +
                ", oldPrice=" + oldPrice +
                ", url='" + url + '\'' +
                ", saleCount=" + saleCount +
                ", state='" + state + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Integer getFoodType_id() {
        return foodType_id;
    }

    public void setFoodType_id(Integer foodType_id) {
        this.foodType_id = foodType_id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(Double oldPrice) {
        this.oldPrice = oldPrice;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(Integer saleCount) {
        this.saleCount = saleCount;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
